package com.glodon.fansi.db.dao;

import java.util.List;
import java.util.Map;

import com.glodon.fansi.db.model.Fansi;
import com.glodon.fansi.db.model.FansiWithBLOBs;

public interface FansiMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(FansiWithBLOBs record);

	int insertSelective(FansiWithBLOBs record);

	FansiWithBLOBs selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(FansiWithBLOBs record);

	int updateByPrimaryKeyWithBLOBs(FansiWithBLOBs record);

	int updateByPrimaryKey(Fansi record);

	List<FansiWithBLOBs> selectByParam(Map<String, String> param);
	
	List<FansiWithBLOBs> selectWithUser(Map<String, String> param);
}